﻿
Partial Class Apps_iframe
    Inherits System.Web.UI.Page

    Public redirectUrl As String = "redirect.aspx?url="
    Public smc As String

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim url As String
        url = Request.QueryString("url")
        smc = Request.QueryString("smc")

        If url.Contains("http://") Then
            url = url
        Else
            url = "http://" & url
        End If

        redirectUrl = redirectUrl & url
    End Sub
End Class
